package com.treeliked.netdiskdemo.model;

/**
 * auth model
 *
 * @author lqs2
 * @date 2018-12-13, Thu
 */
public class AuthEntity {

    /**
     * 用户id
     */
    private String userId;

    /**
     * token 值
     */
    private String token;

    public AuthEntity(String userId, String token) {
        this.userId = userId;
        this.token = token;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public String toString() {
        return "AuthEntity{" +
                "userId='" + userId + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}
